package day5;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Arr2 {
    public static void main(String[] args) {
        int ar[]=new int[9];
        Scanner in=new Scanner(System.in);
        for(int i=0;i<ar.length;i++){
            System.out.println("请输入数组的第"+(i+1)+"个数：");
            ar[i]=in.nextInt();
        }
        System.out.println("结果如下：");
        for(int i=0;i<ar.length;i++){
            System.out.print(ar[i]+"\t");
        }
    }
}
